Skip to content

Conversation

@sesam
Copy link
Contributor

@sesam sesam commented Apr 8, 2019

Hi! We at tretton37 found a bug in the .else branch. Comparing https://github.com/becdetat/Simplicity/blob/master/src/Simplicity/PatternMatching.cs I guess I've made the right fix. But would need some tests and maybe a mention in the docs how multiple .else should work.

I guess this is a breaking change, so 4.x? SemVer grumble grumble ^_^

Hi! We at tretton37 found a bug in the .else branch. Comparing https://github.com/becdetat/Simplicity/blob/master/src/Simplicity/PatternMatching.cs I guess I've made the right fix. But would need some tests and maybe a mention in the docs how multiple .else should work.

I guess this is a breaking change, so 4.x? SemVer grumble grumble ^_^
@sesam
Copy link
Contributor Author

sesam commented Apr 8, 2019

If you decide this is the right path, I can help updating the README later with how .else is behaving.

Oh and I didn't gulp the es6 file into dist/

@becdetat
Copy link
Owner

becdetat commented Apr 8, 2019

Nice, thank you, however it should throw an exception rather than writing to the console. I'm happier for things to break when you don't hold them correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants